﻿using System;
using System.Data;
using System.Collections.Generic;
using IFTRUE.DataCollection.Common;
using IFTRUE.DataCollection.Model;
namespace IFTRUE.DataCollection.BLL
{
	/// <summary>
	/// 商品信息
	/// </summary>
	public partial class commodity
    {
        /// <summary>
        /// 是否存在该记录
        /// </summary>
        public bool ExistsEx(string code)
        {
            return dal.ExistsEx(code);
        }

        /// <summary>
        /// 更新一条数据
        /// </summary>
        public bool UpdateEx(IFTRUE.DataCollection.Model.commodity model)
        {
            return dal.UpdateEx(model);
        }
	}
}

